package com.dtx.dao;

import com.dtx.entity.User;
import com.dtx.module.page.BeePageRequest;
import com.dtx.module.page.BeePageResult;
import org.beetl.sql.core.page.DefaultPageResult;
import org.beetl.sql.core.page.PageRequest;
import org.beetl.sql.core.page.PageResult;
import org.beetl.sql.mapper.BaseMapper;
import org.beetl.sql.mapper.annotation.SqlResource;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@SqlResource("beetl.user")
@Repository
public interface UserDao extends BaseMapper<User> {

    List<User> mdQueryUser(Map<String,Object> map);

    DefaultPageResult mdQueryUser2(PageRequest request);

    DefaultPageResult mdQueryUser3(PageRequest request);
}
